<html>
<head>
	<title>投票对象列表</title>
	<meta charset='utf-8'/>
	<hdjs/>
	<js file="__CONTROL_TPL__/js/content.js"/>
</head>
<body>

<div class="wrap">
<div class='title-header'>投票对象列表 </div>
	<table class='table2 hd-form'>
		<thead>
			<tr>
				<td class="w30"><input type="checkbox" id="select_all"/></td>
				<td class='w30'>ID</td>
				<td class='w50'>名称</td>
				<td class='w50'>才艺</td>
				<td class='w50'>得票数</td>
				<td class='w50'>年龄</td>
				<td class='w50'>身高</td>
				<td class='w50'>学历</td>
				<td class='w50'>职业</td>
				<td>参赛宣言</td>
				<td class='w100'>操作</td>
			</tr>
		</thead>
		<list from='$vote' name="$v">
		<tr>
				<td><input type="checkbox" name="oid[]" value="{$v.oid}"/></td>
				<td>{$v.oid}</td>
				<td>{$v.name}</td>
				<td>{$v.talent}</td>
				<td>{$v.count}</td>
				<td>{$v.age}</td>
				<td>{$v.height}</td>
				<td>{$v.loe}</td>
				<td>{$v.Profession}</td>
				<td>{$v.word}</td>
				<td>
					<a href="{$v.link}">查看</a> |
					<a href="{|u:edit,array('oid'=>$v['oid'])}">编辑</a> |
					<a href="javascript:hd_ajax('{|U:del}',{oid:{$v.oid}}); ">删除</a>
				</td>
			</tr>
		</list>
	</table>
	<div class="page1">
	{$page}
	</div>
</div>
<div class="position-bottom">
	<input type="button" class="hd-cancel" value="全选" onclick="select_all('.table2')"/>
	<input type="button" class="hd-cancel" value="反选" onclick="reverse_select('.table2')"/>
	<input type="button" class="hd-cancel" onclick="del()" value="批量删除"/>
</div>
</body>
</html>
